﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administrator/Admin.Master" AutoEventWireup="true"
    CodeBehind="HoverMenuExtender.aspx.cs" Inherits="EngineeringMaster.Administrator.HoverMenuExtender" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <style type="text/css">
        .popupMenu
        {
            width: 100px;
            background-color: white;
            color: White;
            height: 100px;
        }
        .popupHover
        {
            width: 100px;
            background-color: Transparent;
            color: White;
            height: 100px;
        }
    </style>
    <asp:Button ID="Button1" runat="server" Text="Button" />
    <asp:HoverMenuExtender ID="hme2" runat="Server" TargetControlID="Button1" PopupControlID="PopupMenu"
        HoverCssClass="popupHover" PopupPosition="Left" OffsetX="0" OffsetY="0" PopDelay="50" />
    <asp:Panel CssClass="popupMenu" ID="PopupMenu" runat="server">
        <asp:LinkButton ID="LinkButton1" runat="server" CommandName="Edit" Text="Edit" />
        <br />
        <asp:LinkButton ID="LinkButton2" runat="server" CommandName="Delete" Text="Delete" />
    </asp:Panel>
</asp:Content>
